package com.hehua.BridagePatternTwo;

public class PNGImage extends Image {
    @Override
    public void parseFile(String fileName) {
        //模拟解析png文件并获取一个矩阵对象
        Matrix matrix = new Matrix();
        imp.doPaint(matrix);
        System.out.println(fileName+"格式为png");
    }
}
